package nestedClasses;

public class EnclosingClass1 {
	
	int x = 10 ;
	int y = 20 ;
	static int z = 30 ;
	public EnclosingClass1()
	{
		
	}
	
	class InnerClass{
		int i = 40 ;
		//cannot declare static in 
		//static int j = 50 ;
		int j = 50 ;
		
		public void instanceFunc()
		{
			System.out.println("Inner class instance function is called");
		}
//cannot declare static function in inner classes
//		public static  void staticFunc()
//		{
//			System.out.println("Inner class instance function is called");
//		}
		
		
	}

}
